home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / DSMODS / DEFINE.H < prev    next >
Encoding:
C/C++ Source or Header  |  2001-02-10  |  774 b   |  26 lines

  1. /************************************************************************/
  2. /*    DEFINE.H  Typical miscellaneous C definitions.            */
  3. /*        Copyright 1985 Atari Corp.                */
  4. /************************************************************************/
  5.  
  6. #define NIL 0            /* Nil Pointer */
  7.  
  8. #define NO 0            /* "FALSE" */
  9. #define YES 1            /* "TRUE" */
  10.  
  11. #define TRUE 1
  12. #define FALSE 0
  13.  
  14. #define EOS '\0'        /* End of String marker */
  15. #define EOF (-1)        /* End of File marker */
  16. #define NEWLINE '\n'        /* Carriage Return */
  17.  
  18. #define    FAILURE    (-1)        /* Function failure return val */
  19. #define SUCCESS    (0)        /* Function success return val */
  20. #define    FOREVER    for(;;)        /* Infinite loop declaration   */
  21.  
  22. #define SCREEN   0
  23. #define SCANNER  1
  24. #define PREVIEW  2
  25. #define LASER    3
  26.